import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { DevTools, loadServer } from "jira-dev-tool";
// 需要在 jira-dev-tool 后引入，覆盖默认样式
import "antd/dist/antd.less";
import { AppProviders } from "./context";

loadServer(() => {
  ReactDOM.render(
    // <React.StrictMode>
    <AppProviders>
      <DevTools />
      <App />
    </AppProviders>,
    // </React.StrictMode>,
    document.getElementById("root")
  );
});

reportWebVitals();
